#include "Thread.h"
#include "ThreadAffinity.h"

void Thread::setAffinity(const QSet<int> &processors)
{
    this->processors = processors;
}

void Thread::run()
{
    ThreadAffinity affinity;
    affinity.setAffinity(processors);

    for (;;)
    {}
}
